Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RayCluster with create_settings #118

Merged
merged 25 commits into from
Jan 12, 2022

Conversation

al-rigazzi
Copy link
Collaborator

@al-rigazzi al-rigazzi commented Dec 16, 2021

In this PR, we change the way Ray is started (internally): instead of creating SrunSettings, AprunSettings, and MpirunSettings objects, we just create a BaseRunSettings object with the correct run_command. The same holds for batch settings.

Also, notably, this automatically adds support for Cobalt as a launcher.

@al-rigazzi al-rigazzi added type: feature Issues that include feature request or feature idea type: refactor Issues focused on refactoring existing code labels Dec 16, 2021
Copy link
Contributor

@Spartee Spartee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments. nothing major. Looks good.

smartsim/experiment.py Outdated Show resolved Hide resolved
smartsim/exp/ray/raycluster.py Show resolved Hide resolved
smartsim/exp/ray/raycluster.py Outdated Show resolved Hide resolved
@@ -26,6 +26,8 @@

import time

from smartsim.settings.settings import RunSettings
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use relative improt here

Copy link
Contributor

@Spartee Spartee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor comment. otherwise LGTM!

@al-rigazzi al-rigazzi merged commit ab4e9bc into CrayLabs:develop Jan 12, 2022
@al-rigazzi al-rigazzi deleted the ray_create_settings branch January 13, 2022 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature Issues that include feature request or feature idea type: refactor Issues focused on refactoring existing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants